package com.bawei.a2010douyin.ui.zhibo;

import com.bawei.a2010douyin.base.mvp.BaseModel;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.DanmakuEntity;
import com.bawei.a2010douyin.entity.GiftEntity;

import java.util.List;

import io.reactivex.Observable;

public class ZhiBoModel extends BaseModel implements ZhiBoContract.IZhiBoModel {
    @Override
    public Observable<BaseResponse<List<GiftEntity>>> gift() {
        return mApiServer.gift();
    }

    @Override
    public Observable<BaseResponse<List<DanmakuEntity>>> getDanMus(int videoId) {
        return mApiServer.getDanMus(videoId);
    }
}
